package ywpt.service.people;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import ywpt.model.PeopleApplyInfo;

public interface PeopleApplyInfoService {

	public abstract PeopleApplyInfo getPeopleApplyInfoById(Long id);

	public abstract int getPeopleApplyInfoCountByCriteria(DetachedCriteria query);

	public abstract List<PeopleApplyInfo> getPeopleApplyInfos(
			DetachedCriteria query, int pageSize, int startIndex);

	public abstract void savePeopleApplyInfo(PeopleApplyInfo peopleApplyInfo, Long applyId, Long typeId, Long positionId, Long checkerId);

	public abstract void updatePeopleApplyInfo(PeopleApplyInfo peopleApplyInfo, Long applyId, Long typeId, Long positionId, Long checkerId);

}
